Repository navigation
fix(install): verified replaces, preserved MCP env, truthful self-update - #120
Merged
Merged
Conversation
Windows locked-exe false success: Install-BinaryAtomic no longer treats a surviving old binary as success; unique retire/promote/rollback with hash verification; final version gate before [OK]. PATH copies source from the extracted release and verify; MCP JSON merge preserves env and exact-case keys on PS 5.1/7. Self-update verifies installed bytes/version, unique Windows retirements, rollback on probe failure. Regression tests: scripts/test-installer.ps1 (19 checks), update_e2e native-exe fixtures.
hashline guide never mentioned the opt-in fresh-anchor feature added yesterday (--emit-anchors, HASHLINE_RETURN_ANCHORS=1, MCP return_updated_anchors) despite it shipping with CLI/MCP support and tests. Add it to the flags list, a chained-edit example, and tips.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reproduced with the exact README Windows installer: it downloaded and checksum-verified v0.9.18, printed [OK], but left the locked MCP exe at 0.9.16 and copied that stale binary over the newer Cargo copy.
Root cause
Fix
Tests (isolated, no live config/PATH/network touched)